<div data-role="header" data-tap-toggle="false" data-position="fixed">
	<h1><?php echo $maskerName; ?></h1>
	<div class="ui-btn-right" data-mini="true" data-role="controlgroup" data-type="horizontal">
		<?php if($maskerId != 0){ ?>
			<a class="ui-nodisc-icon" href="#notification-panel" data-role="button"  onclick="openNotPanel()" data-iconpos="notext">
				<span class="ego-notification-number">0</span>
			</a>
		<?php } ?>
		<a class="ui-nodisc-icon" href="#add-form" data-role="button"  data-icon="edit" onclick="$('.add-form:visible').panel('open');" data-iconpos="notext">Sign</a>
      	
    </div>
	<a class="ui-nodisc-icon" href="#nav-panel" data-icon="bars" onclick="$('.nav-panel:visible').panel('open');" data-iconpos="notext">Menu</a>
	
</div>

<div data-role="panel" data-display="push" data-swipe-close="false" class="nav-panel navigation-panel" role="banner">
	<ul data-role="listview">
		<li data-icon="false"><a href="#" onclick="closeNavPanel()" class="menu_close_menu no-underline"></a></li>
		
		<?php if($maskerId != 0){ ?>
			<li data-icon="false"><a href="#profile?masker=<?php echo $maskerName; ?>" data-ajax="false" class="no-underline"><div style="float:left" class="menu_profilo"></div><div class="_icon profile_icon" style="float:right"></div></a></li>
			<li data-icon="false"><a href="#watchers" data-ajax="false" class="no-underline"><div style="float:left" class="menu_sign"></div><div class="_icon sign_icon" style="float:right"></div></a></li>
			<li data-icon="false"><a href="#questions?masker=<?php echo $maskerName; ?>" data-ajax="false" class="no-underline"><div style="float:left" class="menu_questions"></div><div class="_icon question_icon" style="float:right"></div></a></li>
		<?php } else { ?>
			<li data-icon="false"><a href="#global" data-ajax="false" class="no-underline"><div style="float:left" class="menu_sign"></div><div class="_icon sign_icon" style="float:right"></div></a></li>
		<?php } ?>
		<li data-icon="false"><a href="logout.php" data-ajax="false" class="no-underline"><div style="float:left" class="menu_logout"></div><div class="_icon cancel_icon" style="float:right"></div></a></li>
	</ul>
</div>
<div data-role="panel" data-position="right" data-display="push" class="add-form insert-sign-panel">
	<form class="userform">
		<textarea id="text_new_sign" data-mini="true" onkeyup="countSignCharacters(this)"></textarea>
		<div style="margin:5px;font-size:18px;color:grey" class="signCharacters">250</div>
		<a href="#" data-rel="close" class="menu_insert_sign ui-btn ui-shadow ui-corner-all ui-btn-a ui-mini" onclick="insertSign(this, <?php echo $maskerId; ?>, 'text_new_sign')">sign it</a>
	</form>
</div>

<div data-role="panel" data-position="left" data-display="push" class="notification-panel">
	<ul class="notification_ul ui-listview" data-role="listview">
		
		<li data-icon="false"><a href="#" class="notification_li no-underline">blabla</a></li>
	</ul>
	<div class="notification-loader"></div>
</div>